FROM harbor.ijx.icu/ijx-public/openjdk:8u191-jre-otlp-tz-ttf
COPY target/*.jar devops.jar
CMD ["java", "-javaagent:/opentelemetry-javaagent.jar", "-Dotel.service.name=devops", "-Dotel.exporter.otlp.endpoint=http://simplest-collector.default.svc.cluster.local:4317","-Dotel.propagators=jaeger","-Djava.security.egd=file:/dev/./urandom", "-jar", "/devops.jar"]
EXPOSE 8081